.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

@my-color: red;

.box {
    width: 100px;
    height: 100px;
    // background-color: @my-color;

    div {
        .center;
    }

    &:hover {
        background-color: @my-color;
    }
}
